Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy
authorOwen Taylor <otaylor@redhat.com>
Tue, 4 Dec 2001 17:12:35 +0000 (17:12 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 4 Dec 2001 17:12:35 +0000 (17:12 +0000)
commitfeca5a64e293cf21746d41527c31f26507765d0b
tree05a718da7e1bc6222686b44ddb7decd740dbdcc6
parent76030813c71ed837173114ee5bcdd2cf083eee31
Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy

Tue Dec  4 12:06:13 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Ref and sink priv->tooltips in
init() and unref priv->tooltips in destroy rather
than calling gtk_object_destroy() which has no
effect on memory management. (#66104, HideToshi
Tajima)
* gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full()
so we free the when the object is freed. (Fixes memory
leak, #66096, HideToshi Tajima)
* gdk/gdkevents.c (gdk_synthesize_window_state): Use
a full GdkEvent structure to avoid reads of uninitialized/
invalid memory in gdk_event_put() (#65877, patch
from Hidetoshi Tajima)
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkevents.c
gtk/gtkcolorsel.c